<script setup>
import { useStore } from '@/store/index'
import Mybutton from '@/components/MyButton/index.vue'

let store = useStore()
console.log(store)
</script>
<template>
  <div>
    {{ `当前应用url: ${store.curUrl}, 当前应用的key：${store.curMenuKey}` }}
    <Mybutton />
    <micro-app name="sub1" baseroute="/sub1" router-mode='native' url="http://0.0.0.0:1081/"></micro-app>
  </div>
</template>